import { MusicPlayerSong } from '@/types/music'
import EventEmitter from '../utils/EventEmitter'

type EmitterType = {
  addSongList: (songList: MusicPlayerSong) => void
  setActiveSong: (song: MusicPlayerSong | null) => void
}
const songListEvent = new EventEmitter<EmitterType>()
export default songListEvent
